package com.boot.database.initialization;

import java.util.Set;

/**
 * @author 霜寒 <1621856595@qq.com>
 * @description 数据库初始化接口
 * @date 2021/8/23 23:52
 **/

public interface DatabaseInitialization {

    void initialization();

    int order();

    /**
     * @return java.util.Set<java.lang.Class< ? extends com.boot.database.initialization.DatabaseInitialization>>
     * @author 霜寒 <1621856595@qq.com>
     * @description 对 order 大于此的 DatabaseInitialization 对象不进行初始化
     * @date 2021/12/9 14:23
     **/
    default Set<Class<? extends DatabaseInitialization>> includes() {
        return null;
    }

}
